You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TRngStream Class > TRngStream Methods > TRngStream.RandomWeibull Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TRngStream.RandomWeibull Method

Generates an array of samples distributed by Weibull distribution.

Syntax
C#
Visual Basic
public void RandomWeibull([In] TMtxVec Dst, [In] double alpha, [In] double a, [In] double beta);

Returns random numbers distributed according to the Weibull probability density function (PDF) similar to as defined here Probabilities.WeibullPDF. The number of samples generated is defined with the Dst.Length parameter. The result is an array which can be accessed via Dst.Values property. The probability density function is defined as: 

 

alfa*(x-a)^(alfa-1) x-a f(x) = ------------------- exp( - (----)^alfa ) , x >= a (beta)^alfa beta f(x) = 0, x < a
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!